package org.iabako.shared.exception;

import org.iabako.shared.entity.enumeration.IabakoPackage;

/**
 * Created by jose on 12/12/14.
 */
public class IabakoException extends Exception {

    private String uiMessageTitle;
    private String uiMessageText;

    private boolean closePopups;
    private boolean closeOnlySimplePopup;

    private String iconStyle;

    private boolean isBuyCreditException;

    public IabakoException() {
        super();
    }

    public IabakoException(String uiMessageTitle, String uiMessageText, boolean closePopups, boolean closeOnlySimplePopup) {
        super();
        this.uiMessageTitle = uiMessageTitle;
        this.uiMessageText = uiMessageText;
        this.closePopups = closePopups;
        this.closeOnlySimplePopup = closeOnlySimplePopup;
    }

    public String getUiMessageTitle() {
        return uiMessageTitle;
    }

    public String getUiMessageText() {
        return uiMessageText;
    }

    public boolean isClosePopups() {
        return closePopups;
    }

    public boolean isCloseOnlySimplePopup() {
        return closeOnlySimplePopup;
    }

    public String getIconStyle() {
        return iconStyle;
    }

    public void setIconStyle(String iconStyle) {
        this.iconStyle = iconStyle;
    }

    public boolean isBuyCreditException() {
        return isBuyCreditException;
    }

    public void setBuyCreditException(boolean isBuyCreditException) {
        this.isBuyCreditException = isBuyCreditException;
    }
}
